home *** CD-ROM | disk | FTP | other *** search
- DefInt A-Z
- Declare Function Ascii% Lib "wglib.dll" (ByVal s$)
- Declare Function ArgCnt% Lib "wglib.dll" ()
- Declare Function ArgVar$ Lib "wglib.dll" (ByVal x%)
- Declare Function ArrayTotI& Lib "wglib.dll" (Array%, ByVal cnt%)
- Declare Function ArrayTotL& Lib "wglib.dll" (Array&, ByVal cnt%)
- Declare Sub ArrayIncrI Lib "WGLIB.DLL" (Array%, ByVal Amount%, ByVal Els%)
- Declare Sub ArrayIncrL Lib "WGLIB.DLL" (Array&, ByVal Amount%, ByVal Els%)
- Declare Sub ArrayInitI Lib "WGLIB.DLL" (Array%, ByVal Amt%, ByVal NumEls%)
- Declare Sub ArrayInitL Lib "WGLIB.DLL" (Array&, ByVal Amt&, ByVal NumEls%)
- Declare Sub ArrayInitNDX Lib "WGLIB.DLL" (Array%, ByVal Begin%, ByVal NumEls%)
-
- Declare Sub ArrayToCombo Lib "WGLIB.DLL" (Combo As Control, Array$, ByVal NumEls%)
- Declare Sub ComboToArray Lib "WGLIB.DLL" (Combo As Control, Array$, ByVal NumEls%)
-
- Declare Sub ArrayToList Lib "WGLIB.DLL" (List As Control, Array$, ByVal NumEls%)
- Declare Sub ListToArray Lib "WGLIB.DLL" (List As Control, Array$, ByVal NumEls%)
-
- Declare Function BitSetInt% Lib "wglib.dll" (ByVal v%, ByVal bit%)
- Declare Function BitChkInt% Lib "wglib.dll" (ByVal v%, ByVal bit%)
- Declare Function BitClrInt% Lib "wglib.dll" (ByVal v%, ByVal bit%)
- Declare Function BitSetLng& Lib "wglib.dll" (ByVal v&, ByVal bit%)
- Declare Function BitChkLng% Lib "wglib.dll" (ByVal v&, ByVal bit%)
- Declare Function BitClrLng& Lib "wglib.dll" (ByVal v&, ByVal bit%)
- Declare Function ByteCombine% Lib "wglib.dll" (ByVal lo%, ByVal hi%)
- Declare Function ByteSplitLo% Lib "wglib.dll" (ByVal v%)
- Declare Function ByteSplitHi% Lib "wglib.dll" (ByVal v%)
-
- Declare Function DOSDate% Lib "wglib.dll" (m%, d%, y%)
- Declare Function DOSTime% Lib "wglib.dll" (h%, m%, s%)
- Declare Function DOSVer% Lib "wglib.dll" (x%, y%)
- Declare Function DeciBin$ Lib "wglib.dll" (ByVal v%)
- Declare Function DosInt% Lib "wglib.dll" (Regs As Any)
- Declare Function DayOfYr% Lib "wglib.dll" ()
- Declare Function Decr% Lib "wglib.dll" (ByVal v%, ByVal Amt%)
- Declare Function DrvGet% Lib "wglib.dll" ()
- Declare Function DrvSet% Lib "wglib.dll" (ByVal Dr$)
- Declare Function DOSVerTrue% Lib "wglib.dll" (Ver%, Rev%, HiLo%)
- Declare Function DrvSpace& Lib "wglib.dll" (ByVal Drv%)
- Declare Function DrvFree& Lib "wglib.dll" (ByVal Drv%)
- Declare Function DrvStat% Lib "wglib.dll" (ByVal Drv%, ClusPerSec%, AvailClus%, SecBytes%, TotClus%)
-
-
- Declare Sub EmbossFrm Lib "WGLIB.DLL" (Frm As Form, ByVal T%, ByVal l%, ByVal b%, ByVal R%, ByVal Thick%)
- Declare Sub EmpressFrm Lib "WGLIB.DLL" (Frm As Form, ByVal T%, ByVal l%, ByVal b%, ByVal R%, ByVal Thick%)
- Declare Sub EqInfo Lib "wglib.dll" (ParPorts%, SerPorts%, GamePort%)
-
-
- Declare Function FloppyType% Lib "wglib.dll" (ByVal Drv%)
- Declare Function FAttrGet% Lib "wglib.dll" (ByVal Fil$, Attr%)
- Declare Function FAttrSet% Lib "wglib.dll" (ByVal Fil$, ByVal Attr%)
- Declare Function FClose% Lib "wglib.dll" (FHandle%)
- Declare Function FCopy% Lib "wglib.dll" (ByVal Src$, ByVal Dst$)
- Declare Function FCount% Lib "wglib.dll" (ByVal mask$)
- Declare Function FCreat% Lib "wglib.dll" (ByVal mask$, FHandle%)
- Declare Function FDateGet% Lib "wglib.dll" (ByVal Fil$, Mo%, da%, Yr%)
- Declare Function FDateSet% Lib "wglib.dll" (ByVal Fil$, ByVal Mo%, ByVal da%, ByVal Yr%)
- Declare Function FDelete% Lib "wglib.dll" (ByVal Fil$)
- Declare Function Fexists% Lib "wglib.dll" (ByVal Fil$)
- Declare Function FEof% Lib "wglib.dll" (ByVal Hnd%)
- Declare Function FFlush% Lib "wglib.dll" (ByVal Hnd%)
- Declare Function FileLoad% Lib "WGlib.Dll" (ByVal Fil$, Size&, Buf$)
- Declare Function FileDNE% Lib "wglib.dll" (ByVal Fil$)
- Declare Function FOpen% Lib "wglib.dll" (ByVal mask$, FHandle%)
- Declare Function FOpenW% Lib "wglib.dll" (ByVal mask$, FHandle%)
- Declare Function FMove% Lib "wglib.dll" (ByVal Src$, ByVal Dst$)
- Declare Function FRecGet% Lib "wglib.dll" (ByVal fh%, ByVal Size%, tRec As Any)
- Declare Function FRecPut% Lib "wglib.dll" (ByVal fh%, ByVal Size%, tRec As Any)
- Declare Function FRecGetA% Lib "wglib.dll" (ByVal fh%, ByVal Quan%, ByVal Size%, tRec As Any)
- Declare Function FRecPutA% Lib "wglib.dll" (ByVal fh%, ByVal Quan%, ByVal Size%, tRec As Any)
- Declare Function FRename% Lib "wglib.dll" (ByVal OldF$, ByVal NewF$)
- Declare Function FRep% Lib "wglib.dll" (ByVal Src$, ByVal Dest$)
- Declare Function FReadByte% Lib "wglib.dll" (ByVal FHandle%, Buffer%)
- Declare Function FWriteByte% Lib "wglib.dll" (ByVal FHandle%, Buffer%)
- Declare Function FReadArray% Lib "wglib.dll" (Buffer%, ByVal FHandle%, Count%)
- Declare Function FWriteArray% Lib "wglib.dll" (Buffer%, ByVal FHandle%, Count%)
- Declare Function FSetPtr& Lib "wglib.dll" (ByVal h%, ByVal rec&, ByVal siz%)
- Declare Function FSizeH& Lib "wglib.dll" (ByVal Hnd%)
- Declare Function FSizeN& Lib "wglib.dll" (ByVal Fil$)
- Declare Function FTimeGet% Lib "wglib.dll" (ByVal Fil$, h%, m%, s%)
- Declare Function FTimeSet% Lib "wglib.dll" (ByVal Fil$, ByVal h%, ByVal m%, ByVal s%)
- Declare Function FWriteStr% Lib "wglib.dll" (ByVal handle%, Buffer$, bytes%)
- Declare Function FReadStr% Lib "wglib.dll" (ByVal handle%, Buffer$, bytes%)
- Declare Function FUnique% Lib "wglib.dll" (ByVal Path$, ByVal Attr%, FHandle%)
-
- Declare Function GetWGLibVer% Lib "wglib.dll" (major%, minor%)
-
- Declare Function Incr% Lib "wglib.dll" (ByVal v%, ByVal Amt%)
- Declare Function instri% Lib "wglib.dll" (ByVal Start%, ByVal Str1$, ByVal Str2$)
- Declare Function IsCharAlph% Lib "wglib.dll" (ByVal c$)
- Declare Function IsCharAlNum% Lib "wglib.dll" (ByVal c$)
- Declare Function IsCharLowr% Lib "wglib.dll" (ByVal c$)
- Declare Function IsCharUppr% Lib "wglib.dll" (ByVal c$)
- Declare Function IsStrAlph% Lib "wglib.dll" (ByVal s$)
- Declare Function IsStrText% Lib "wglib.dll" (ByVal s$)
- Declare Function IsStrAlNum% Lib "wglib.dll" (ByVal s$)
-
- Declare Function Julian& Lib "wglib.dll" (ByVal m%, ByVal d%, ByVal y%)
- Declare Function JulianCvt% Lib "wglib.dll" (ByVal Jdate&, m%, d%, y%)
-
- Declare Function KeyLockC% Lib "wglib.dll" ()
- Declare Function KeyLockN% Lib "wglib.dll" ()
- Declare Function KeyLockI% Lib "wglib.dll" ()
- Declare Function KeyLockS% Lib "wglib.dll" ()
- Declare Sub KBCapsOn Lib "wglib.dll" ()
- Declare Sub KBCapsOff Lib "wglib.dll" ()
- Declare Sub KBNumsOn Lib "wglib.dll" ()
- Declare Sub KBNumsOff Lib "wglib.dll" ()
- Declare Sub KBInsOn Lib "wglib.dll" ()
- Declare Sub KBInsOff Lib "wglib.dll" ()
- Declare Sub KBScrlOn Lib "wglib.dll" ()
- Declare Sub KBScrlOff Lib "wglib.dll" ()
-
- Declare Function LCount% Lib "wglib.dll" (ByVal Fil$)
- Declare Function LastNFirst$ Lib "wglib.dll" (ByVal N$)
-
- Declare Function Mhz& Lib "wglib.dll" ()
- Declare Function MaxI% Lib "wglib.dll" (ByVal a%, ByVal NumEls%)
- Declare Function MinI% Lib "wglib.dll" (ByVal a%, ByVal NumEls%)
- Declare Function MaxIArry% Lib "wglib.dll" (Arry%, ByVal NumEls%)
- Declare Function MinIArry% Lib "wglib.dll" (Arry%, ByVal NumEls%)
- Declare Function MaxLArry& Lib "wglib.dll" (Arry&, ByVal NumEls%)
- Declare Function MinLArry& Lib "wglib.dll" (Arry&, ByVal NumEls%)
- Declare Function MaxL& Lib "wglib.dll" (ByVal a&, ByVal NumEls%)
- Declare Function MinL& Lib "wglib.dll" (ByVal a&, ByVal NumEls%)
-
- ' the following MemCompA declaration allows easier usage but
- ' it works on INT arrays only. The latter one works on any
- ' numeric array, but is more cumbersome, requiring VarPtr and VarSeg.
- Declare Function MemCompA% Lib "wglib.dll" (Src%, Dst%, ByVal words%)
- 'Declare Function MemCompA% Lib "wglib.dll" (ByVal SrcSeg%, ByVal SrcOffs%, ByVal DstSeg%, ByVal DstOffs%, ByVal words%)
-
- Declare Function NybbleSplitLo% Lib "wglib.dll" (ByVal v%)
- Declare Function NybbleSplitHi% Lib "wglib.dll" (ByVal v%)
- Declare Function NybbleCombine% Lib "wglib.dll" (ByVal hi%, ByVal lo%)
-
- Declare Function ParseFileSpec% Lib "wglib.dll" (ByVal raw$, Fil As Any)
- Declare Function PCase$ Lib "wglib.dll" (ByVal N$)
-
- Declare Function RInstr% Lib "wglib.dll" (ByVal Src$, ByVal Find$)
- Declare Function ReverseStr$ Lib "wglib.dll" (ByVal s$)
-
- Declare Function ShiftRightI% Lib "wglib.dll" (ByVal v%, ByVal c%)
- Declare Function ShiftLeftI% Lib "wglib.dll" (ByVal v%, ByVal c%)
- Declare Function ShiftRightL% Lib "wglib.dll" (ByVal v&, ByVal c%)
- Declare Function ShiftLeftL% Lib "wglib.dll" (ByVal v&, ByVal c%)
-
- Declare Function StrCmpi% Lib "wglib.dll" (ByVal Str1$, ByVal Str2$)
- Declare Function SubDirCount% Lib "wglib.dll" (ByVal SDMask$)
- Declare Function SubDirExist% Lib "wglib.dll" (ByVal SDir$)
- Declare Function SubDirCH% Lib "wglib.dll" (ByVal SDir$)
- Declare Function SubDirMk% Lib "wglib.dll" (ByVal SDir$)
- Declare Function SubDirRM% Lib "wglib.dll" (ByVal SDir$)
- Declare Function SysTicks& Lib "wglib.dll" ()
-
- Declare Sub SwapI Lib "wglib.dll" (a%, b%)
- Declare Sub SwapL Lib "wglib.dll" (a&, b&)
- Declare Sub SwapS Lib "wglib.dll" (a!, b!)
- Declare Sub SwapD Lib "wglib.dll" (a#, b#)
- Declare Sub SwapC Lib "wglib.dll" (a@, b@)
- Declare Sub SwapStr Lib "wglib.dll" (a$, b$)
- Declare Sub SwapAny Lib "wglib.dll" (a As Any, b As Any, ByVal siz%)
-
- Declare Function TimerToggle% Lib "wglib.dll" (ByVal Tmr%, ByVal Toggle%)
- Declare Function TimerElapsed& Lib "wglib.dll" (ByVal Tmr%)
-
- Declare Function VarPtr% Lib "wglib.dll" (Thing As Any)
- Declare Function VarSeg% Lib "wglib.dll" (Thing As Any)
- Declare Function ValFileName% Lib "wglib.dll" (ByVal FileSpec$, DOSCode%)
- Declare Function ValidDrv% Lib "wglib.dll" (ByVal Drv$)
- Declare Function VBLoaded% Lib "wglib.dll" ()
- Declare Function VerifyGet% Lib "wglib.dll" ()
- Declare Function VerifySet% Lib "wglib.dll" (ByVal Flag%)
- Declare Function VLabelGet$ Lib "wglib.dll" (ByVal d$)
-
- Declare Function WinSpkrSnd% Lib "wglib.dll" (ByVal Freq%, ByVal Dur%)
- Declare Function WinMouse% Lib "Wglib.dll" ()
- Declare Function WinMode% Lib "Wglib.dll" ()
- Declare Function WinMem& Lib "Wglib.dll" ()
- Declare Function WinVer% Lib "Wglib.dll" ()
- Declare Function WinSysDir$ Lib "Wglib.dll" ()
- Declare Function WinDirectory$ Lib "Wglib.dll" ()
- Declare Function WinTempDrive$ Lib "Wglib.dll" ()
- Declare Function WinCurTime& Lib "Wglib.dll" ()
- Declare Function WinKeyBdType% Lib "Wglib.dll" ()
- Declare Function WinKBFuncKeys% Lib "Wglib.dll" ()
- Declare Function WinPrgName$ Lib "wglib.dll" ()
-
- Declare Function Xlate% Lib "wglib.dll" (List$, ByVal xlat$)
-
- Declare Function ZellerDay% Lib "wglib.dll" (ByVal Mo%, ByVal da%, ByVal Yr%)
-
- ' ====================================
- ' VB Control Enahncement Declarations
- ' ====================================
- Declare Sub ConcaveCtl Lib "wglib.dll" (Ctrl As Control, ByVal Thick%)
- Declare Sub concaveFrm Lib "wglib.dll" (Frm As Form, ByVal Thick%)
- Declare Sub ConvexCtl Lib "wglib.dll" (Ctrl As Control, ByVal Thick%)
- Declare Sub ConvexFrm Lib "wglib.dll" (Frm As Form, ByVal Thick%)
-
- Declare Sub CBClearList Lib "wglib.dll" (Combo As Control)
- Declare Sub CBShowList Lib "wglib.dll" (Combo As Control)
-
- Declare Sub FrmFlash Lib "WGlib.dll" (ByVal Hnd%)
-
- Declare Function GetCtrlHnd% Lib "WGlib.dll" (Ctrl As Control)
-
- Declare Sub LBClearList Lib "wglib.dll" (List As Control)
- Declare Function LBFindPreFix% Lib "WGlib.dll" (List As Control, ByVal s$)
- Declare Function LBGetFirst% Lib "WGlib.dll" (List As Control)
- Declare Function LBSetFirst% Lib "WGlib.dll" (List As Control, ByVal Index%)
-
- Declare Sub TextBoxFLoad Lib "wglib.dll" (Edit As Control, ByVal Fil$)
- Declare Sub TBSizeLimit Lib "wglib.dll" (Edit As Control, ByVal Size%)
- Declare Sub TBLineCount Lib "WGlib.dll" (Edit As Control)
- Declare Sub TBPassword Lib "wglib.dll" (Edit As Control, ByVal Char%)
-
-
- '==============================
- ' Structure Defs for WGLib
- '==============================
-
- ' Structure for DOSInt
- Type CPURegs
- AXReg As Integer
- BXReg As Integer
- CXReg As Integer
- DXReg As Integer
-
- SIReg As Integer
- DIReg As Integer
- ESReg As Integer
- DSReg As Integer
- Flags As Integer
- End Type
-
-
- ' Structure for ParseFileSpec
- Type FilStruct
- Drv As String * 2
- Path As String * 64
- Fil As String * 8
- Ext As String * 3
- End Type
-
- '============
- ' Struct used in demo only
- '===============
-
- Type TStruct
- i As Integer
- l As Long
- s As String * 6
- End Type
-
- Global Test() As TStruct
-
-
-
-
-
-
-